/**
 * Project Name:template-web
 * File Name   :SqlMapId.java
 * Package Name:org.cn.template.component.ibatis
 * Date:2015年9月27日下午3:28:54
 * Copyright (c) 2015, http://my.oschina.net/httpssl All Rights Reserved.
 *
*/

package org.cn.template.component.ibatis;

/**
 * ClassName:SqlMapId <br/>
 * Function :TODO ADD FUNCTION. <br/>
 * Reason	:TODO ADD REASON. <br/>
 * Date     :2015年9月27日 下午3:28:54 <br/>
 * @author  :http://my.oschina.net/httpssl
 * @email   :491835898@QQ.COM
 * @since   :JDK 1.7
 * @see 	 
 */
public interface SqlMapId
{
	/**
	 * 插入全部字段
	 */
	public String SQL_INSERT = "insert";
	
	public String SQL_INSERTBATCH = "insertBatch";
	
	/**
	 * 插入不为空的字段
	 */
	public String SQL_INSERT_Selective = "insertSelective";
	/**
	 * 根据主键删除
	 */
	public String SQL_DELETE_ByParam = "deleteByParam";
	public String SQL_DELETE_BYID = "delete";
	/**
	 * 根据主键更新全部属性
	 */
	public String SQL_UPDATE_ByPrimaryKey = "update";
	/**
	 * 根据主键更新部分属性
	 */
	public String SQL_UPDATE_ByPrimaryKeySelective = "updateByPrimaryKeySelective";
	/**
	 * 根据主键查找
	 */
	public String SQL_SELECT_ByPrimaryKey = "selectByPrimaryKey";
	public String SQL_SELECT_ByParam = "selectByParam";
	public String SQL_SELECT_COUNT = "selectListCount";
	public String SQL_SELECT_LIST = "selectList";

}